package team3132.utils;

import edu.wpi.first.wpilibj.tables.TableKeyNotDefinedException;

/**
 * Interface to a wrapper around an value.
 */
public interface Value {

  /**
   * Returns the value as a double.
   *
   * @return The value as a double
   * @throws TableKeyNotDefinedException
   */
  public double getDoubleValue() throws TableKeyNotDefinedException;

  /**
   * Returns the value as an integer.
   *
   * @return The value as an integer
   * @throws TableKeyNotDefinedException
   */
  public int getIntValue() throws TableKeyNotDefinedException;

  /**
   * Returns the value as a string.
   *
   * @return The value as a string
   * @throws TableKeyNotDefinedException
   */
  public String getStringValue() throws TableKeyNotDefinedException;
}
